#!/usr/bin/env python

import sys, rospy, cv2, time
from std_msgs.msg import Float64

class listener:
	def __init__(self):
		rospy.Subscriber('communication',Float64,self.call_back)
		rospy.sleep(3)
		self.pub1 = rospy.Publisher('back',Float64,queue_size=10)

	def call_back(self,data):
		self.t = data.data

	def meet(self):
		return self.t

	def help(self):
		self.t = self.t + 1
		self.pub1.publish(self.t) 

